package org.shj.springcloud.movie;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;

/**
 * Feign 是一种申明式的，模板化的HTTP客户端，可以简单用定义一个接口，并加上相应的注解，就可以调用远程的HTTP 服务
 * 
 * @author huangjian
 *
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
public class MovieFeignApplication {

	public static void main(String[] args) {
        SpringApplication.run(MovieFeignApplication.class, args);
    }
	
}
